package com.cicadasmall.plugin;

/**
 * AbstractPlugin
 *
 * @author Jin
 */
public abstract class AbstractPlugin<T> implements IPlugin<T>, Comparable<AbstractPlugin> {

    protected int weight = 0;

    @Override
    public int compareTo(AbstractPlugin o) {
        return o.weight - this.weight;
    }


}
